package com.sjgtw.cloud.web.jointDefenceUnit.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 联防单位对象 t_eg_joint_defence_unit
 * 
 * @author ruoyi
 * @date 2024-03-09
 */
public class JointDefenceUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 单位名称 */
    @ExcelProperty(value = "联防单位名称")
    @ApiModelProperty("单位名称")
    private String name;

    /** 负责人 */
    @ExcelProperty(value = "负责人")
    @ApiModelProperty("负责人")
    private String leader;

    /** 位置纬度 */
    @Excel(name = "位置纬度")
    @ApiModelProperty("位置纬度")
    private String lat;

    /** 位置经度 */
    @Excel(name = "位置经度")
    @ApiModelProperty("位置经度")
    private String lon;

    /** 公里标位置 */
    @ExcelProperty(value = "公里标位置")
    @ApiModelProperty("公里标位置")
    private String kilometreLocation;

    /** 人数 */
    @ExcelProperty(value = "人数")
    @ApiModelProperty("人数")
    private String peopleNumber;

    /** 抢险队伍人员常住地 */
    @ExcelProperty(value = "抢险队伍人员常住地")
    @ApiModelProperty("抢险队伍人员常住地")
    private String emergencyPeoplePlace;


    /** 电话 */
    @ExcelProperty(value = "联系方式")
    @ApiModelProperty("电话")
    private String phone;

    /** 成员 */
    @ExcelProperty(value = "成员")
    @ApiModelProperty("成员")
    private String member;

    /** 联防协议地址 */
    @ExcelProperty(value = "联防协议地址")
    @ApiModelProperty("联防协议地址")
    private String protocolUrl;

    /** 联防协议文件名称 */
    @ExcelProperty(value = "联防协议文件名称")
    @ApiModelProperty("联防协议文件名称")
    private String protocolName;

    public String getKilometreLocation() {
        return kilometreLocation;
    }

    public void setKilometreLocation(String kilometreLocation) {
        this.kilometreLocation = kilometreLocation;
    }

    public String getPeopleNumber() {
        return peopleNumber;
    }

    public void setPeopleNumber(String peopleNumber) {
        this.peopleNumber = peopleNumber;
    }

    public String getEmergencyPeoplePlace() {
        return emergencyPeoplePlace;
    }

    public void setEmergencyPeoplePlace(String emergencyPeoplePlace) {
        this.emergencyPeoplePlace = emergencyPeoplePlace;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getProtocolName() {
        return protocolName;
    }

    public void setProtocolName(String protocolName) {
        this.protocolName = protocolName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setMember(String member) 
    {
        this.member = member;
    }

    public String getMember() 
    {
        return member;
    }
    public void setProtocolUrl(String protocolUrl) 
    {
        this.protocolUrl = protocolUrl;
    }

    public String getProtocolUrl() 
    {
        return protocolUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("leader", getLeader())
            .append("phone", getPhone())
            .append("member", getMember())
            .append("protocolUrl", getProtocolUrl())
            .toString();
    }
}
